//
//  RemoveFollowRequest.m
//  collection
//
//  Created by zhangjing on 4/18/12.
//  Copyright (c) 2012 Tsinghua University. All rights reserved.
//

#import "RemoveFollowRequest.h"

@implementation RemoveFollowRequest

- (void)initParams {
    
    self.descriptionName = @"relation.remove";
    
    RemoveFollowRequestData* requestData = [[RemoveFollowRequestData alloc] init];
    self.request = requestData;
    [requestData release];
    
    Response* response = [[Response alloc] init];
    self.response = response;
    [response release];
}

- (NSString*)buildRequestURL {
    
    RemoveFollowRequestData* requestData = (RemoveFollowRequestData*)self.request;
    
    NSString* requestContent = [NSString stringWithFormat:@"&userId=%lld&followeeId=%lld",
                                requestData.UID,
                                requestData.followeeID];
    
    return requestContent;
}

@end
